﻿using YAPACS.Workflows;

namespace YAPACS.RisServer.Workflows.SyncData;

[Workflow("数据同步-申请科室",
    OutputDescription = @"
    [
    {
      ""code"": ""D001"",
      ""name"": ""放射科"",
      ""children"": [
        {
          ""code"": ""DR001"",
          ""name"": ""张医生"",
          ""applyDepartment"": ""D001""
        }
      ]
    },
    {
      ""code"": ""D002"",
      ""name"": ""内科"",
      ""children"": [
        {
          ""code"": ""DR002"",
          ""name"": ""李医生"",
          ""applyDepartment"": ""D002""
        }
      ]
    },
    {
      ""code"": ""D003"",
      ""name"": ""外科"",
      ""children"": [
        {
          ""code"": ""DR003"",
          ""name"": ""王医生"",
          ""applyDepartment"": ""D003""
        }
      ]
    }
  ]")]
public interface IGetApplyDepartment : IWorkflow
{
}
